Programming Best Practices
Part of Software Engineering
Articles in Programming Best Practices
Read the latest articles published in this section.
How to Safely Use AI Coding Agents in Django Projects Without Breaking Production
Learn how to use AI coding agents safely in Django with Git, tests, security checks, reviews, and deployment guardrails.
How to Build a Secure RAG Knowledge Base with Django, PostgreSQL pgvector, and AI APIs
Learn how to build a secure RAG knowledge base using Django, PostgreSQL pgvector, embeddings, and AI APIs with practical examples.
How to Build Privacy-Preserving AI Apps: Integrating Local LLMs with Django and Celery
Learn how to build privacy-preserving AI applications by integrating local LLMs (like Llama 3) into Django using Ollama, Celery, and Redis for background processing.
Complete Guide to SEO for Django Websites: Meta Tags, Sitemap, Robots.txt, Open Graph, and Performance
A practical developer-focused guide to technical SEO in Django, explaining how to make Django applications easier for search engines to crawl, index, and understand. It covers server-side rendering advantages, dynamic meta tags, XML sitemaps, robots…
Complete Guide: How to Add CSP Security to a Django Project Step by Step
This article provides a complete, step-by-step guide to implementing Content Security Policy (CSP) in a Django project. It covers both the built-in CSP features in modern Django versions and the use of django-csp for older setups. You’ll learn how t…